<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.picture.jsf.layouts.override">

  <require>org.nuxeo.ecm.platform.picture.jsf.layouts</require>

  <extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="imageFile" type="image">
      <labels>
        <label mode="any">label.file.content</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>file:content</field>
        <field>file:filename</field>
      </fields>
      <properties widgetMode="any">
        <property name="required">true</property>
      </properties>
    </widget>

    <widget name="summary_picture_view" type="picture_view"/>

    <widget name="infoViewPictureView" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="pictureView" type="picture_view"/>
      </subWidgets>
    </widget>

  </extension>

</component>
